const express = require("express")
const router = express.Router()

// router.post("/reg", (req, res) => {
//     res.send("请求收到了")
// })

router.use("/reg", require("./register/reg"))//注册
router.use("/login", require("./login/index"))//登录
router.use("/personal", require("./personal/index"))//个人信息
router.use("/msg", require("./msg/index"))//评论
router.use("/getData", require("./getData/index"))//获取数据
router.use("/administer", require("./admin/index"))//获取数据
router.use("/article",require("./article/index"))

module.exports = router